package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name string `gorm:"type:varchar(30)" json:"name"`
	Pass string `gorm:"type:varchar(30)" json:"pass"`
}
type Life struct {
	gorm.Model
	Title string `gorm:"type:varchar(30)" json:"title"`
	Cont  string `gorm:"type:varchar(100)" json:"cont"`
	Img   string `gorm:"type:varchar(50)" json:"img"`
}
